<?php
namespace App\Query;

use App\Model\News;

class NewsQuery extends \HyperfStore\Query
{
    // 构建模型
    protected static function build()
    {
        return News::latest();
    }
}